const { Mock } = require('../../utils/index')
exports.mockContributed = Mock.mock({
  status: 200,
  data: {
    statu: 0,
    'data|100': [
      {
        'id|+1': 1,
        title: Mock.Random.title(),
        'browse|500-1000': 200,
        'comments|200-400': 200,
        date: Mock.Random.now()
      }
    ],
    msg: '100'
  }
})
exports.mockReview = Mock.mock({
  status: 200,
  data: {
    statu: 0,
    'data|100': [
      {
        'id|+1': 1,
        title: Mock.Random.title(),
        date: Mock.Random.now()
      }
    ],
    msg: '100'
  }
})
exports.mockReturned = Mock.mock({
  status: 200,
  data: {
    statu: 0,
    'data|100': [
      {
        'id|+1': 1,
        title: Mock.Random.title(),
        pullDate: Mock.Random.now(),
        content: '没有标题'
      }
    ],
    msg: '100'
  }
})
